<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:general="http://java.sun.com/jsf/composite/general"   
      >

<h:head>



	<meta name="Description" content="Sistema de información de proyectos web" />
	<meta name="Keywords" content="tareas, gestion de proyectos, control de entregas" />
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<meta name="Distribution" content="Global" />
	<meta name="Author" content="Marco Antonio Sanz Molina-Prados - MarAntonio82@gmail.com" />
	<meta name="Robots" content="index,follow" />

	<link rel="stylesheet" type="text/css"
      href="#{request.contextPath}/resources/css/styles.css"/> 
	<title><h:outputText value="#{i18n.title}" /></title>
	
</h:head>

<h:body>
<!-- wrap starts here -->
<div id="wrap">
		
	<general:cabecera/>
		
			
			
	<!-- content-wrap starts here -->
	<div id="content-wrap">
		
		<div id="main" >				
			
			<h:form id="loginForm">
<div>

<h:messages styleClass="error"></h:messages>
<table class="tabledata" style="width:50%;margin-left: 200px">
<tr>
	<th colspan="2">#{i18n.login_title_tabla}</th>
</tr>
<tr>
	<td width="tddatafield"><h:outputText  value="#{i18n.login_usuario}" /></td>
	<td width="tddatavalue"><h:inputText id="userid" value="#{usuarioBean.usuarioStr}" size="10" maxlength="10" required="true" requiredMessage="#{i18n.login_usuario_error}" validatorMessage="#{i18n.login_usuario_validate}">
		<f:validateLength minimum="5" maximum="10"></f:validateLength>
	</h:inputText>
	</td>
</tr>
<tr>
	<td><h:outputText  value="#{i18n.login_passwd}" /></td>
	<td><h:inputSecret id="passwdid" value="#{usuarioBean.passwdStr}" size="10" maxlength="10" required="true"  requiredMessage="#{i18n.login_passwd_error}" validatorMessage="#{i18n.login_passwd_validate}">
		<f:validateLength minimum="5" maximum="10"></f:validateLength>
	</h:inputSecret>	
	</td>
</tr>
<tr>
	<td colspan="2" align="center"><h:commandButton value="#{i18n.login_command}" action="#{usuarioController.loguear }"></h:commandButton></td>
</tr>
</table>
</div>
</h:form>
		</div>
		
			
		<div id="sidebar">
							
					
			<h2><h:outputFormat value="#{i18n.login_versiones} #{datosMaestrosBean.appVersion}"></h:outputFormat></h2>
			<ul class="sidemenu">				
				<li><a href="doc/userManual.pdf">#{i18n.login_versiones_manual_usuario}</a></li>
				<li><a href="doc/releaseNotes.pdf">#{i18n.login_versiones_release_notes}</a></li>				
			</ul>
		</div>
				
	<!-- content-wrap ends here -->	
	</div>
					
	<!--footer starts here-->
	<div id="footer">
			
		<p>
		&copy; 2010 <strong>Your Company</strong> |
		<a href="http://www.bluewebtemplates.com/" title="Website Templates">website templates</a> by <a href="http://www.styleshout.com/">styleshout</a> |
		Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | 
		<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>   		
   	</p>
				
	</div>	

<!-- wrap ends here -->
</div>

</h:body>
</html>


